<template>
    <div class="home">
        <router-view/>

        <footer>
            <ul>
                <li>
                    <router-link to="/home/index">
                        <i class="iconfont icon-dianying"></i>
                        <span>电影</span>
                    </router-link>
                </li>
                <li>
                    <router-link to="/home/cinema" class="r">
                        <i class="iconfont icon-yingyuana"></i>
                        <span>影院</span>
                    </router-link>
                </li>
                <li>
                    <router-link to="/user" class="r">
                        <i class="iconfont icon-wode"></i>
                        <span>我的</span>
                    </router-link>
                </li>
            </ul>
        </footer>
    </div>
</template>

<script>
    export default {

    }
</script>

<style scoped lang="scss">
    .r:hover{
        border-bottom: none;
    }
    .home {
        width: 100%;
        footer {
            position: fixed;
            bottom: 0;
            width: 100%;
            background: #fff;
            border-top: 0.01rem solid #d8d8d8;
            ul {
                display: flex;
                height: 0.96rem;
                justify-content: space-around;
                align-items: center;
                
                li {
                    display: flex;
                    width: 33.33%;
                    text-align: center;
                    line-height: .35rem;
                    justify-content: space-around;
                    a:hover{
                        color: red;
                        span{
                            color: red;
                        }
                    }
                    span {
                        display: block;
                        font-size: .28rem;
                        color: #696969;
                    }
                }
            }
        }
    }
</style>